package com.kingyun.gpsinspection.purificationservice.dao.mapper.tdm;


import com.kingyun.gpsinspection.purificationservice.facade.model.tdm.WorkOrderEmployee;

import java.util.List;

public interface WorkOrderEmployeeMapper {
    int deleteByPrimaryKey(String workOrderEmployeeId);

    int insert(WorkOrderEmployee record);

    int insertSelective(WorkOrderEmployee record);

    WorkOrderEmployee selectByPrimaryKey(String workOrderEmployeeId);

    int updateByPrimaryKeySelective(WorkOrderEmployee record);

    int updateByPrimaryKey(WorkOrderEmployee record);

    int deleteByWorkOrderId(String workOrderId);

    /**
     * 批量插入数据
     */
    int insertList(List<WorkOrderEmployee> list);

    /**
     *  根据工单查询关联信息
     *  @param workOrderId 工单id
     * */
    List<WorkOrderEmployee> selectByWorkOrderId(String workOrderId);
}